package flexo.physic.collision;

import flexo.math.Vector;

public class Sphere extends Shape
{
	public Vector center;
	public float radius;
	
	public Sphere(Vector vector, float radius)
	{
		super(CollisionDetector.ShapeType.Sphere);
		this.center = new Vector(vector);
		this.radius = radius;
	}
	
	public Sphere()
	{
		super(CollisionDetector.ShapeType.Sphere);
		this.center = new Vector();
		this.radius = 0;
	}
}
